const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  // transpileDependencies: true,
  // 关闭eslint
  lintOnSave: false,
  devServer: {
    proxy: {
      '/API': {
        target: 'http://gmall-h5-api.atguigu.cn',
        changeOrigin: true,
        pathRewrite: { '^/API': '' },
      },
    },
  },
})
